package cn.edu.gzu.chat.feign;


import cn.edu.gzu.chat.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "user-service",path = "/user")
public interface UserFeign {
    @GetMapping("/detail")
    UserVo getUserInfo(@RequestParam("id") long user_id);
}